package com.dream.tihai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Valley
 * Created by Valley on 2022/12/13
 */
@TableName("file_record")
@Data
public class FileEntity {

    @TableId("id")
    private long id;

    @TableField("name")
    private String fileName;

    @TableField("upload_time")
    private String uploadTime;

    @TableField("save_dir")
    private String saveDir;

    @TableLogic("flag")
    private int flag;
}
